#ifndef ROBOTIO
#define ROBOTIO
#include "robotCommon.h"

#ifdef __cplusplus 
extern "C"
{
#endif

GENESDK_API HRESULT SubscribeIO(void *handle, const char * variableName, const char * dataType);
GENESDK_API HRESULT Get10ExtraIOList(void *handle, char reslist[10][DATANAME_LENGTH+1], int *resnum, const char *dataType, int nIdex);
GENESDK_API HRESULT GetExtraIOData(void *handle, IoItem *Result, const char *type, const char *varName);
GENESDK_API HRESULT SetExtraIOData(void *handle, const char *type, const char *varName, IoItem *ioItem);

#ifdef __cplusplus
}
#endif
#endif // !ROBOTIO